CVE-2024-36974
net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP If one TCA_TAPRIO_ATTR_PRIOMAP attribute has been provided, taprio_parse_mqprio_opt() must validate it, or userspace can inject arbitrary data to the kernel, the second time taprio_change() is called. First call (with valid attributes) sets dev->num_tc to a non zero value. Second call (with arbitrary mqprio attributes) returns early from taprio_parse_mqprio_opt() and bad things can happen.
INFO
Published Date :
June 18, 2024, 8:15 p.m.
Last Modified :
Oct. 1, 2025, 3:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected kernel packages.
- Update kernel-uek-container and/or kernel-uek-container-debug packages.
- Update the affs-modules packages.
Public PoC/Exploit Available at Github
CVE-2024-36974 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-36974.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-36974 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-36974
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A collection of links related to Linux kernel security and exploitation
linux-kernel kernel-exploitation exploit privilege-escalation security
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-36974 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-36974 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 01, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.9.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.35 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.95 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.162 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.2 up to (excluding) 5.4.279 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.221 Added Reference Type CVE: https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36 Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c Added Reference https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b Added Reference https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404 Added Reference https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2 Added Reference https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec Added Reference https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923 Added Reference https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 05, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923 [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 21, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2 [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 18, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP If one TCA_TAPRIO_ATTR_PRIOMAP attribute has been provided, taprio_parse_mqprio_opt() must validate it, or userspace can inject arbitrary data to the kernel, the second time taprio_change() is called. First call (with valid attributes) sets dev->num_tc to a non zero value. Second call (with arbitrary mqprio attributes) returns early from taprio_parse_mqprio_opt() and bad things can happen. Added Reference kernel.org https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36 [No types assigned]